from time import sleep
from threading import Thread


class Accout(object):
    def __init__(self):
        self._balance = 0

    def deposit(self, money):
        new_balance = self._balance + money
        sleep(0.1)
        self._balance = new_balance

    @property
    def balance(self):
        return self._balance
        
